<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form th:action="@{/login}" method="get">
    <input type="text" name="username" id="username" required><br>
    <input type="password" name="password" id="password" required><br>
    <input type="submit" value="o k">
</form>
<a th:href="@{/register}">注册</a>
</body>
</html>